package com.cmower.baeldung.hashmap1;

import java.util.HashMap;

/**
 * @author 沉默王二，一枚有趣的程序员
 */
public class HashDemo {
    public static void main(String[] args) {
HashMap<Key,String> map = new HashMap<>();
map.put(new Key("沉X"),"沉默王二X");
map.put(new Key("沉Y"),"沉默王二Y");

        map.put(null,"沉默王二Y");

        map.get(new Key("沉Y"));
    }
}
